package com.lhj.myapplication.service.impl;

import com.lhj.myapplication.mapper.TagMapper;
import com.lhj.myapplication.service.TagService;
import com.lhj.myapplication.vo.TagViewModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TagServiceImpl implements TagService {
    @Autowired
    private TagMapper tagMapper;
    @Override
    public List<TagViewModel> getAll() {
        return tagMapper.getAll();
    }
}
